﻿using Microsoft.AspNetCore.Mvc;

namespace K8s_CICD.Controllers
{
    [ApiController]
    [Route("[controller]/[action]")]
    public class K8s_CICDController : ControllerBase
    {
        private readonly ILogger<WeatherForecastController> _logger;

        public K8s_CICDController(ILogger<WeatherForecastController> logger)
        {
            _logger = logger;
        }


        [HttpGet(Name = "GetK8sCICD")]
        public string GetK8sCICD()
        {
            return $"K8s CI/CD部署成功:{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}";
        }

        [HttpGet(Name = "GetK8sCICD1")]
        public string GetK8sCICD1()
        {
            return $"K8s CI/CD部署成功:{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}";
        }


    }
}